@import "_global.scss";
body{
    background-color: #F2F2F2;
}
header{
    /*！喜欢 张鹏鹏！*/
    width: 100%;
    background-color: #F5F5F5;
}
.header{
    @extend %w;
    height: 35px;
    display: flex;
    justify-content: space-between;
    
    .left{
        width: 40%;
        display: flex;
        justify-content: space-between;

        &>.heardeleft{
            display: flex;
            justify-content: space-between;
            width: 80%;
            height: 35px;
            list-style: none;
            &>a{
                text-decoration: none;
                color: black;
                font-size: 12px;
                color: gray;
                line-height: 35px;
                margin-left: -10px;
                &:hover{
                    color: orangered;
                }
            }

            &>li{
                width: 20%;
                font-size: 12px;
                color: gray;
                line-height: 35px;
                text-align: center;
                &:hover{
                    color: orangered;
                }
            }
        }

        select{
            font-size: 12px;
            // margin-left: 3%;
            width: 15%;
            line-height: 35px;
            border: 0px;
            background-color: F5F5F5;
            outline: none;

            option{
                outline: none;
            }
        }
        &>.iconfont{
            margin-left: 15px;
            display: inline-block;
            line-height: 35px;
            color: orangered;
        }
    }

    .right{
        width: 50%;
        &>ul{
            display: flex;
            justify-content: space-between;
            &>a{
                text-decoration: none;
                font-size: 12px;
                &>li{
                    list-style: none;
                    line-height: 35px;
                    font-size: 12px;
                    color: gray;
                    &:hover{
                        color: orangered;
                    } 
                }

            }
            &>.show{
                width: 100px;
                display: flex;
                &>a{
                    text-decoration: none;
                    font-size: 12px;
                    color: gray;
                }
                &>a>li{
                    list-style: none;
                    line-height: 35px;

                    &:hover{
                        color: orangered;
                    }
                }
                &>a:nth-child(2)>li{
                    color: orangered;
                    margin-left: 10px;
                }
                
            }
            &>.hide{
                width:200px;
                display: none;
                height: 35px;
                &>a{
                    float: left;
                    line-height: 35px;
                    text-decoration: none;
                    font-size: 12px;
                    color: gray;
                }
                &>a:nth-of-type(1){
                    color: orangered;
                    margin-right: 12px;
                }
            }
            &>a:nth-child(2)>li{
                color: orangered;
            }
            &>li{
                list-style: none;
                line-height: 35px;
                font-size: 12px;
                color: gray;
                &:hover{
                    color: orangered;
                }
            }
        }
    }
}

#nav{
    width: 100%;
    background-color: white
}
nav{
    @extend %w;
    height: 150px;
    display: flex;
    
    .navleft{
        width: 200px;
        height: 100px;
        overflow: hidden;

        &>img{
            margin-top: 25px;
            width: 100%;
            height: 100%;
        }
    }

    .navright{
        margin-left: 200px;
        width: 560px;
        height: 150px;
        // line-height: 150px;
        display: flex;
        align-items: center;
        align-content:center;
        flex-wrap: wrap;
        position: relative;
        
        

        input{
            width: 450px;
            height: 40px;
            border: 2px solid orangered;
            border-radius: 10px 0px 0px 10px;
            outline: none;
            text-indent: 10px;

        }
        .searchBtn{
            outline: none;
            width: 100px;
            height: 44px;
            border: 2px solid orangered;
            background-color: orangered;
            border-radius: 0px 10px 10px 0px;
            color: wheat;
            font-size: 20px;
            position: relative;
            top:2px;
            left: -5px;
        }
        

        .navlist{
            width: 700px;
            height: 30px;
            line-height: 20px;

            &>ul{
                display: flex;
                justify-content: space-around;

                &>li{
                    list-style: none;
                    font-size: 10px;
                    width: 70px;
                    text-align: center;
                }
            }
        }
    }
}

.main{
    width: 100%;
    margin-top: 35px;
    .contain{
        width: 1126px;
        // height: 490px;
        margin: 0px auto;
        display: flex;
        position: relative;
        .bannerleft{
            width: 180px;
            &>.bannertop{
                width: 180px;
                height: 35px;
                margin-top: -35px;
                background-color: #FF8000;
                color: black;
                border-radius: 10px 10px 0px 0px;
                line-height: 35px;
                text-indent: 10px;
                font-size: 14px;
                color: white;
            }
            &>.bannerbuttom{
                background-color: white;
                position: absolute;
                top: 0px;
                left: 0px;
                display: none;
                &>ul>li{
                    width: 160px;
                    height: 50px;
                    list-style: none;
                    line-height: 30px;
                    margin-left: 20px;
                    &>img{
                        width: 20px;
                        height: 20px;
                        vertical-align: middle;
                    }
                    &>span{
                        display: inline-block;
                        line-height: 49px;
                        font-size: 12px;
                    }
                    &:hover{
                        span{
                            color: orangered;
                        }
                    }
                }
            }
        }
        .bannerright{
            width: 600px;
            height: 35px;
            margin-left: 30px;
            margin-top: -35px;
            img{
                height: 35px;
            }
        }
        .result{
            width: 100%;
            height: 40px;
            line-height: 40px;

        }
    }

}
.result{
    @extend %w;
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;

    &>span:nth-of-type(1){
        color: gray;
        &:hover{
            color: orangered;
        }
    }
    &>span:nth-of-type(2){
        width: 60px;
        font-size: 12px;
        text-align: center;
        background-color: #FFFFFF;
        &:hover{
            color: orangered;
        }
    }
    &>span:nth-of-type(3){
        display: none;
        width: 60px;
        font-size: 12px;
        text-align: center;
        background-color: #FFFFFF;
        &:hover{
            color: orangered;
        }
    }
    

}

.foot{
    @extend %w;

    &>.footnav{
        display: block;
        width: 100%;
        padding: 10px 0px;
        border-top: 1px solid gray;
        border-bottom: 1px solid gray;
        color: gray;
        display: flex;
        &>.footul{
            width: 80%;
            display: flex;
            flex-wrap: wrap;
            margin-left: 50px;
            &>li{
                color: black;
                font-size: 14px;
                width: 150px;
                text-align: center;
                list-style: none;

                &:hover{
                    color: orangered;
                }
            }
        }
    }
}



.ng-ser-box{
    width: 100%;
    margin-top: 30px;
    &>.contain{
        @extend %w;
        height: 275px;

        &>.ng-ser-box-top{
            height: 100px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid gray;
            &>p{
                width: 20%;
                line-height: 100px;
                display: flex;
                flex-wrap: wrap;
                img{
                    vertical-align: middle;
                    width: 60px;
                    height: 60px;
                }
                    span{
                        &>span:nth-of-type(1){
                            display: block;
                            line-height: 30px;
                            font-size: 16px;
                            color: black;
                            font-weight: 900;
                            &:hover{
                                color: orangered;
                            }
                        }   
                        &>span:nth-of-type(2){
                            display: block;
                            line-height: 30px;
                            font-size: 14px;
                            color: gray;
                        }   
                    }
            }
        }
        &>.ng-ser-box-buttom{
            width: 100%;
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            &>ul{
                width: 15%;
                &>li{
                    list-style: none;
                    color: gray;
                    font-size: 12px;
                }
                &>li:nth-of-type(1){
                    font-size: 14px;
                    color: black;
                    font-weight: 900;
                }
                &>li:not(:nth-of-type(1)){
                    &:hover{

                        color: orangered;
                    }
                }
            }
        }

    }
}